/** @format */

import axios from '@/utils/request';

// 下架记录分页查询
export function dowmBillPageList(params) {
  return axios.get('/rfid/downBill/page', { params: params });
}

// 下架记录详情
export function getDowmBillDetail(billNumber) {
  return axios.get('/rfid/downBill/queryOne', { params: {billNumber: billNumber} });
}

// 档案下架
export function archivesDown(data) {
  return axios.post('/rfid/downBill/archivesDown', data, {
    headers: {
      'Content-Type': 'application/json'
    }
  });
}

// 档案盒下架
export function boxDown(data) {
  return axios.post('/rfid/downBill/boxDown', data, {
    headers: {
      'Content-Type': 'application/json'
    }
  });
}
